package com.thirteen.app.dto.ExamRecordWithScoreResponse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "考试记录批阅就结束")
public class PaperWithScoreDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "试卷ID", required = true)
    private Integer paperId;

    @ApiModelProperty(value = "试卷标题", required = true)
    private String title;

    @ApiModelProperty(value = "考试记录Id", required = true)
    private Integer examRecordId;

    @ApiModelProperty(value = "总分", required = true)
    private Integer totalScore;

    @ApiModelProperty(value = "及格分", required = true)
    private Integer qualifyScore;

    @ApiModelProperty(value = "是否及格", required = true)
    private boolean passed;

    @ApiModelProperty(value = "主观题得分", required = true)
    private Integer objectiveScore;

    @ApiModelProperty(value = "客观题得分", required = true)
    private Integer subjectiveScore;

    @ApiModelProperty(value = "阅卷人", required = true)
    private String userName;

    @ApiModelProperty(value = "阅卷时间", required = true)
    private Integer judgeTime;

    @ApiModelProperty(value = "大题列表", required = true)
    private List<QuestionTypeWithScoreDto> paperQuestionTypesList;

}
